package com.github.kylepeng93.controller;

import com.github.kylepeng93.service.DllInterface;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class JnaController {
    @PostMapping("/jna")
    public ResponseEntity<Integer> callLib() {
        return ResponseEntity.ok(DllInterface.INSTACE.add(4,2));
    }
}
